package com.chuangjiangx.member.score.web.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 兑换商品接口参数
 * Created by YangKuo on 2017/9/27.
 */
@Getter
@Setter
public class ConvertGiftRequest {

    /**
     * 会员id（必传）
     */
    @NotNull(message = "{memberId.null}")
    private Long memberId;

    /**
     * 商品id（必传）
     */
    @NotNull(message = "{scoreGiftId.null}")
    private Long id;

}
